package top.jiangqiang.qianyi.data.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.jiangqiang.qianyi.common.base.model.entity.BaseEntity;

import java.io.Serial;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author JiangQiang
 * @since 2024-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "qy_user_info", autoResultMap = true)
@Schema(name = "UserInfo", description = "$!{table.comment}")
public class UserInfo extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "用户真实名字")
    private String realName;

    @Schema(description = "用户手机号")
    private String mobile;

    @Schema(description = "用户邮箱")
    private String email;

    @Schema(description = "用户性别")
    private Byte gender;

    @Schema(description = "用户简介")
    private String resume;
}
